package com.css.fxfzypg.modules.baseData.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.css.fxfzypg.modules.baseData.entity.HouseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-08-25 16:21
 */
@Data
public class HouseVO implements IExcelDataModel, IExcelModel {

    @Excel(name = "省")
    @NotBlank(message = "缺失")
    private String province;
    @Excel(name = "市")
    @NotBlank(message = "缺失")
    private String city;
    @Excel(name = "区（县）")
    @NotBlank(message = "缺失")
    private String prefecture;

    /**
     * 造价（元/每平米）高层建筑
     */
    @Excel(name = "高层建筑",groupName = "房屋造价（元/平米）")
    @NotNull(message="缺失")
    private BigDecimal highHousePrice;

    /**
     * 造价（元/每平米）钢结构
     */
    @Excel(name = "钢结构")
    @NotNull(message="缺失")
    private BigDecimal steelPrice;

    /**
     * 造价（元/每平米）多层钢筋混凝土结构
     */
    @Excel(name = "多层钢筋混凝土结构")
    @NotNull(message="缺失")
    private BigDecimal concretePrice;

    /**
     * 造价（元/每平米）砖混结构
     */
    @Excel(name = "砖混结构")
    @NotNull(message="缺失")
    private BigDecimal brickhunPrice;

    /**
     * 造价（元/每平米）砖木结构
     */
    @Excel(name = "砖木结构")
    @NotNull(message="缺失")
    private BigDecimal brickPrice;

    /**
     * 造价（元/每平米）土结构
     */
    @Excel(name = "土结构")
    @NotNull(message="缺失")
    private BigDecimal soilPrice;

    /**
     * 造价（元/每平米）木结构
     */
    @Excel(name = "木结构")
    @NotNull(message="缺失")
    private BigDecimal woodPrice;

    /**
     * 造价（元/每平米）石结构
     */
    @Excel(name = "石结构")
    @NotNull(message="缺失")
    private BigDecimal stonePrice;

    /**
     * 造价（元/每平米）其他结构
     */
    @Excel(name = "其他结构")
    @NotNull(message="缺失")
    private BigDecimal otherPrice;

    private Integer rowNum;
    private String errorMsg;


}
